<?php
$id=trim($_REQUEST['id']);

$goodsid=trim($_REQUEST['goodsid']);

$genius_list = pdo_fetch("SELECT * FROM ".tablename('shopping3_genius')." where status=1 and id=".$id."");
//$genius_id=unserialize($genius_list['dishes']);
//$genius_ids=implode(',',$genius_id['id']);
//$goods_list = pdo_fetchall("SELECT * FROM ".tablename('shopping3_goods')." where status=1 and id in (".$genius_ids.")");

$goods_list = pdo_fetchall("SELECT * FROM ".tablename('shopping3_goods')." where status=1 and id=$goodsid");

include $this->template('wl_tdetail');


?>